package cn.iocoder.yudao.module.biz.controller.admin.zmdeduction.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 扣款报分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ZmDeductionPageReqVO extends PageParam {

    @Schema(description = "分格式")
    private String subCommpany;

    @Schema(description = "服务id", example = "32227")
    private String serviceId;

    @Schema(description = "订单号码")
    private String orderNo;

    @Schema(description = "业务号码")
    private String bizCode;

    @Schema(description = "业务流水号")
    private String bizStreamCode;

    @Schema(description = "用户名", example = "芋艿")
    private String userName;

    @Schema(description = "交易类型", example = "2")
    private Integer tradeType;

    @Schema(description = "交易金额")
    private String tradeAmt;

    @Schema(description = "授权金额")
    private String sqAmt;

    @Schema(description = "交易订单号")
    private String tradeOrderNo;

    @Schema(description = "下单时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] orderTime;

    @Schema(description = "扣款时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] deductionTime;

    @Schema(description = "扣款成功时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] deductionSuccTime;

    @Schema(description = "订单状态", example = "1")
    private Integer orderStatus;

    @Schema(description = "扣款失败说明", example = "随便")
    private String deductionFailMemo;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}